.ribbon {
	color: #eee;
	cursor: default;
	display: inline-block;
	text-align: center;
	width: 35px;
	margin: 0 10px 2px 0;
	float: left;
}

a.ribbon {
	color: #eee;
	cursor: pointer;
	text-decoration: none;
}

.ribbon .ribbon-piece {
	background-color : rgba(102, 102, 102, 1);
	-webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
	-o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
	-ms-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
	-webkit-transition: background-color 0.5s ease-in;
	-moz-transition: background-color 0.5s ease-in;
	-o-transition: background-color 0.5s ease-in;
	-ms-transition: background-color 0.5s ease-in;
	transition: background-color 0.5s ease-in;
}

a.ribbon:hover .ribbon-piece {
	background-color: rgba(173,58,43,1);
	color: #eee;
}

.ribbon .top {
	border-bottom: 1px solid rgba(255, 255, 255, 0.6);
	-webkit-border-radius: 1px 1px 0px 0px;
	-moz-border-radius: 1px 1px 0px 0px;
	-o-border-radius: 1px 1px 0px 0px;
	-ms-border-radius: 1px 1px 0px 0px;
	border-radius: 1px 1px 0px 0px;
	font-size: 11px;
	padding: 4px 0;
	position: relative;
	text-transform: uppercase;
	height: 13px;
}

.ribbon .bottom {
	font-size: 17px;
	padding: 5px 0;
	height: 20px;
}

.ribbon .tail {
	height: 10px;
	overflow: hidden;
	position: relative;
}

.ribbon .tail .left,
.ribbon .tail .right {
	height: 10px;
	position: absolute;
	top: -10px;
	width: 50px;
}

.ribbon .tail .left {
	left: -9px;
	-webkit-transform: rotate(-25deg);
	-moz-transform: rotate(-25deg);
	-o-transform: rotate(-25deg);
	-ms-transform: rotate(-25deg);
	transform: rotate(-25deg);
}

.ribbon .tail .right {
	right: -9px;
	-webkit-transform: rotate(25deg);
	-moz-transform: rotate(25deg);
	-o-transform: rotate(25deg);
	-ms-transform: rotate(25deg);
	transform: rotate(25deg);
}

.ribbon.small {
	width: 25px;
}

.ribbon.small .top {
	font-size: 9px;
	padding: 2px 0;
	height:11px;
}

.ribbon.small .bottom {
	font-size: 12px;
	padding: 3px 0;
	height: 15px;
}

.ribbon.small .tail {
	height: 6px;
}

.ribbon.small .tail .left,
.ribbon.small .tail .right {
	height: 6px;
	top: -7px;
	width: 40px;
}

.ribbon.small .tail .left {
	left: -6px;
}

.ribbon.small .tail .right {
	right: -6px;
}